import React from 'react';
import { Context } from './store';

const Provider = (props) => {
  const { children, store } = props;
  return <Context.Provider value={store}>{children}</Context.Provider>;
};
export default Provider;
